package com.whu.helpluojia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whu.helpluojia.domain.Find;
import com.whu.helpluojia.domain.LostAndFound;
import com.whu.helpluojia.domain.MyPublish;
import com.whu.helpluojia.domain.dto.LafDto;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface FindService  extends IService<Find> {

    void status(@RequestBody Find find);

    void unmatched(@RequestBody Find find);

    List<LafDto> insert(@RequestBody Find find);

    Find[] selectAll();

    public List<MyPublish> getMyDetail(Long userId);

    void solute(Long id);

    public MyPublish getFindDetail(Long id, Long userId);
}
